package com.lxf.education.pojo;

import org.springframework.stereotype.Repository;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
* @author:LuoXingFa;
* @version:Date:2022年4月27日上午9:22:23
*/
@Repository
public class ReslutPojo implements Serializable {

	private Integer rid; //编号
	private String rtname; //课程名
	private Integer rsamount;//学生数量
	private String rcontent;//评教内容
	private Integer rscore;//评教分数
	private String rmessage;//留言
	private Integer rsort;//移动的位数
    private Integer tid;//课程id
	private List<TeacherPojo> tpojo = new ArrayList<>();//课程

	public Integer getRid() {
		return rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public String getRtname() {
		return rtname;
	}

	public void setRtname(String rtname) {
		this.rtname = rtname;
	}

	public Integer getRsamount() {
		return rsamount;
	}

	public void setRsamount(Integer rsamount) {
		this.rsamount = rsamount;
	}

	public String getRcontent() {
		return rcontent;
	}

	public void setRcontent(String rcontent) {
		this.rcontent = rcontent;
	}

	public Integer getRscore() {
		return rscore;
	}

	public void setRscore(Integer rscore) {
		this.rscore = rscore;
	}

	public String getRmessage() {
		return rmessage;
	}

	public void setRmessage(String rmessage) {
		this.rmessage = rmessage;
	}

	public Integer getRsort() {
		return rsort;
	}

	public void setRsort(Integer rsort) {
		this.rsort = rsort;
	}

	public Integer getTid() {
		return tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public List<TeacherPojo> getTpojo() {
		return tpojo;
	}

	public void setTpojo(List<TeacherPojo> tpojo) {
		this.tpojo = tpojo;
	}

	@Override
	public String toString() {
		return "ReslutPojo{" +
				"rid=" + rid +
				", rtname='" + rtname + '\'' +
				", rsamount=" + rsamount +
				", rcontent='" + rcontent + '\'' +
				", rscore=" + rscore +
				", rmessage='" + rmessage + '\'' +
				", rsort=" + rsort +
				", tid=" + tid +
				", tpojo=" + tpojo +
				'}';
	}
}
